package com.cjb.cloudsystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjb.cloudsystem.entity.SysLogLogin;
import com.cjb.cloudsystem.vo.SysLogLoginVO;

import java.util.List;

/**
 * 登录日志
 *
 * @author 陈锦斌 2213859123@qq.com
 * @since 1.0.0 2023-08-30
 */
public interface SysLogLoginService extends com.baomidou.mybatisplus.extension.service.IService<SysLogLogin> {
    /**
     * 单体保存
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    boolean save(SysLogLogin sysLogLogin);

    /**
     * 批量保存
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    Integer listSave(List<SysLogLogin> sysLogLogin);

    /**
     * 批量更新
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    void listUpdate(List<SysLogLogin> sysLogLogin);

    /**
     * 批量删除
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    void listDelete(List<SysLogLogin> sysLogLogin);


    /**
     * 通过id删除
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    int deleteById(SysLogLogin sysLogLogin);

    /**
     * 单个查询
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    SysLogLogin queryById(SysLogLogin sysLogLogin);

    /**
     * 分页查询
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    Page queryPage(Page sysLogLoginPage, SysLogLoginVO sysLogLogin);

    /**
     * 分页查询
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    List<SysLogLogin> queryList(SysLogLoginVO sysLogLogin);
    /**
     * 返回全部信息
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    List<SysLogLogin> returnAllData();
}
